<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html:form action="/sendMessage.do" styleClass="center" style="width: 500px;">
    <html:hidden property="idremitente"/>
    <html:hidden property="iddestinatario"/>
    <p><bean:message key="list.for"/> <html:text property="receiver" readonly="true"/></p>
    <input type="text" style="width: 100%" onclick="this.value=''" name="titulo" maxlength="100" value="<bean:message key="list.subject"/>">
    <br/>
    <textarea name="mensaje"  style="width: 100%" rows="10" onclick="this.value=''"><bean:message key="list.message"/></textarea><br/>
    <div class="center"><html:submit styleClass="azul"><bean:message key="list.send"/></html:submit> </div>
    <html:errors/>
</html:form>
